package com.e3.basdoc.bank.client;

import com.e3.basdoc.bank.model.BankModel;
import com.e3.template.tgf.TGFGridPanel;
import com.e3.template.tgf.TGFQueryDialog;
import com.e3.template.tgf.TGFRefDialog;
import com.e3.template.tgf.TGFTreePanelAsync;

public class BankRefDialog extends TGFRefDialog<BankModel> {
	
	@Override
	protected String getRefDialogTitle() {
		return BankMessages.INSTANCE.title_bank_refdialog();
	}

	@Override
	protected TGFGridPanel<BankModel> createGridPanel() {
		return new BankGridPanel();
	}

	@Override
	protected TGFTreePanelAsync<BankModel> createTreePanel() {
		return new BankTreePanel();
	}

	@Override
	protected TGFQueryDialog<BankModel> createQueryDialog() {
		return new BankQueryDialog();
	}

	@Override
	protected String getCurrentLocalName() {
		return BankMessages.INSTANCE.local_name();
	}

}
